package com.imooc.sell.dto;

import lombok.Data;

import java.math.BigDecimal;

/**
 * 用于返回统计的变化率数据
 */
@Data
public class StatRateDTO {
    public final BigDecimal defaultV = new BigDecimal(0.000);
    /* 日销售量变化率*/
    BigDecimal sellSuccessYesRate;
    /* 日销售额变化率*/
    BigDecimal successYesSaleRate;
    /* 日取消量变化率*/
    BigDecimal sellCancelYesRate;
    /* 日退款量变化率*/
    BigDecimal sellPaybackYesRate;
    /* 月销售量变化率*/
    BigDecimal sellSuccessMonthRate;
    /* 月销售额变化率*/
    BigDecimal successMonthSaleRate;
    /* 月取消量变化率*/
    BigDecimal sellCancelMonthRate;
    /* 月退款量变化率*/
    BigDecimal sellPaybackMonthRate;
    /* 季度销售量变化率*/
    BigDecimal sellSuccessSeasonRate;
    /* 季度销售额变化率*/
    BigDecimal successSeasonSaleRate;
    /* 季度取消量变化率*/
    BigDecimal sellCancelSeasonRate;
    /* 季度退款量变化率*/
    BigDecimal sellPaybackSeasonRate;

    public StatRateDTO() {
        sellSuccessYesRate = defaultV;
        successYesSaleRate = defaultV;
        sellCancelYesRate = defaultV;
        sellPaybackYesRate = defaultV;
        sellSuccessMonthRate = defaultV;
        successMonthSaleRate = defaultV;
        sellCancelMonthRate = defaultV;
        sellPaybackMonthRate = defaultV;
        sellSuccessSeasonRate = defaultV;
        successSeasonSaleRate = defaultV;
        sellCancelSeasonRate = defaultV;
        sellPaybackSeasonRate = defaultV;

    }
}
